/**
 * Created by zhaott on 2018/10/22.
 */
var http=require('http');
//get 请求外网
http.get('http://10.10.70.58:32119/cas/login?service=http%3A%2F%2F10.10.70.58%3A32121%2Fusermanage%2F',function(req,res){
    var html='';
    req.on('data',function(data){
        html+=data;
    });
    req.on('end',function(){
        console.info('end：',html);
    }).on('error',function(e){
        console.info('error：',e);
    });
});